<template>
    <c-ed class="user" v-if="signed" />
    <c-will class="user" v-else />
</template>

<script>
import Ced from "./signed"
import Cwill from "./willsign"
export default {
    name: 'user',
    data() {
        return {

        }
    },
    computed: {
        signed() {
            return this.$store.state.user.signed
        }
    },
    components: {
        'c-will': Cwill,
        'c-ed': Ced,
    },
    created() {

    },
    methods: {

    }
}
</script>

<style scoped>
    .user {
        border-radius: 4px 4px 0 0;
        padding: 10px;
        background-color: var(--bg1);
        color: var(--clr0);
    }
</style>
